package com.module.framework.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.module.framework.domain.Staff;
import com.module.framework.mapper.StaffMapper;
import com.module.framework.service.StaffService;
import com.module.framework.vo.StaffVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StaffServiceImpl extends ServiceImpl<StaffMapper, Staff> implements StaffService {

    @Autowired
    private StaffMapper staffMapper;

    @Override
    public List<Staff> getStaffInfo(String snCode) {
        List<Staff> staff = staffMapper.selectStaffInfoBySnCode(snCode);
        return staff;
    }
}
